[INFO] fetching crate sp-phragmen 2.0.0-rc2...
[INFO] checking sp-phragmen-2.0.0-rc2 against try#72f88fc4e9458f89516a0b8b0868f3718aec5b47 for pr-74989
[INFO] extracting crate sp-phragmen 2.0.0-rc2 into /workspace/builds/worker-4/source
[INFO] validating manifest of crates.io crate sp-phragmen 2.0.0-rc2 on toolchain 72f88fc4e9458f89516a0b8b0868f3718aec5b47
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking crates.io crate sp-phragmen 2.0.0-rc2
[INFO] finished tweaking crates.io crate sp-phragmen 2.0.0-rc2
[INFO] tweaked toml for crates.io crate sp-phragmen 2.0.0-rc2 written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded sp-phragmen-compact v2.0.0-rc2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] efa2b0d2f9c269aa90dcb5b126a35dc9e715882b28457044056653ab41fe6233
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "efa2b0d2f9c269aa90dcb5b126a35dc9e715882b28457044056653ab41fe6233", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "efa2b0d2f9c269aa90dcb5b126a35dc9e715882b28457044056653ab41fe6233", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "efa2b0d2f9c269aa90dcb5b126a35dc9e715882b28457044056653ab41fe6233", kill_on_drop: false }`
[INFO] [stdout] efa2b0d2f9c269aa90dcb5b126a35dc9e715882b28457044056653ab41fe6233
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 2ddfd2f8bbe5c09556bccfff4eed59127bab61f21622344c373e6a98b08711c8
[INFO] running `Command { std: "docker" "start" "-a" "2ddfd2f8bbe5c09556bccfff4eed59127bab61f21622344c373e6a98b08711c8", kill_on_drop: false }`
[INFO] [stderr]     Checking sp-std v2.0.0-rc6
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling syn v1.0.40
[INFO] [stderr]     Checking integer-sqrt v0.1.5
[INFO] [stderr]    Compiling serde_derive v1.0.116
[INFO] [stderr]    Compiling sp-debug-derive v2.0.0-rc6
[INFO] [stderr]    Compiling serde v1.0.116
[INFO] [stderr]    Compiling toml v0.5.6
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling parity-scale-codec-derive v1.2.2
[INFO] [stderr]    Compiling sp-phragmen-compact v2.0.0-rc2
[INFO] [stderr]     Checking parity-scale-codec v1.3.5
[INFO] [stderr]     Checking sp-arithmetic v2.0.0-rc6
[INFO] [stderr]     Checking sp-phragmen v2.0.0-rc2 (/opt/rustwide/workdir)
[INFO] [stdout] error: Could not find `sp-phragmen` in `dependencies` or `dev-dependencies` in `/opt/rustwide/workdir/Cargo.toml`!
[INFO] [stdout]    --> src/tests.rs:656:2
[INFO] [stdout]     |
[INFO] [stdout] 656 |     generate_compact_solution_type!(TestCompact, 16);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `sp_runtime`
[INFO] [stdout]   --> src/mock.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | use sp_runtime::assert_eq_error_rate;
[INFO] [stdout]    |     ^^^^^^^^^^ use of undeclared type or module `sp_runtime`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `substrate_test_utils`
[INFO] [stdout]   --> src/tests.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | use substrate_test_utils::assert_eq_uvec;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_utils`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `sp_phragmen`
[INFO] [stdout]    --> src/tests.rs:650:6
[INFO] [stdout]     |
[INFO] [stdout] 650 |     use sp_phragmen::{Assignment, StakedAssignment, Error as PhragmenError, ExtendedBalance};
[INFO] [stdout]     |         ^^^^^^^^^^^ use of undeclared type or module `sp_phragmen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `_phragmen`
[INFO] [stdout]    --> src/tests.rs:656:2
[INFO] [stdout]     |
[INFO] [stdout] 656 |     generate_compact_solution_type!(TestCompact, 16);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `_phragmen`
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_error_rate`
[INFO] [stdout]    --> src/mock.rs:317:3
[INFO] [stdout]     |
[INFO] [stdout] 317 |         assert_eq_error_rate!(sum, T::ACCURACY.saturated_into(), 1);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_error_rate`
[INFO] [stdout]    --> src/mock.rs:351:6
[INFO] [stdout]     |
[INFO] [stdout] 351 |                     assert_eq_error_rate!(
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_uvec`
[INFO] [stdout]   --> src/tests.rs:43:2
[INFO] [stdout]    |
[INFO] [stdout] 43 |     assert_eq_uvec!(winners, vec![(2, 40), (3, 50)]);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_uvec`
[INFO] [stdout]   --> src/tests.rs:44:2
[INFO] [stdout]    |
[INFO] [stdout] 44 |     assert_eq_uvec!(
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_uvec`
[INFO] [stdout]   --> src/tests.rs:93:2
[INFO] [stdout]    |
[INFO] [stdout] 93 |     assert_eq_uvec!(winners, vec![(2, 40), (3, 50)]);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_uvec`
[INFO] [stdout]   --> src/tests.rs:94:2
[INFO] [stdout]    |
[INFO] [stdout] 94 |     assert_eq_uvec!(
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_uvec`
[INFO] [stdout]    --> src/tests.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |     assert_eq_uvec!(
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_uvec`
[INFO] [stdout]    --> src/tests.rs:156:2
[INFO] [stdout]     |
[INFO] [stdout] 156 |     assert_eq_uvec!(
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_uvec`
[INFO] [stdout]    --> src/tests.rs:250:2
[INFO] [stdout]     |
[INFO] [stdout] 250 |     assert_eq_uvec!(winners, vec![(1, 18446744073709551614u128), (5, 18446744073709551613u128)]);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_uvec`
[INFO] [stdout]    --> src/tests.rs:280:2
[INFO] [stdout]     |
[INFO] [stdout] 280 |     assert_eq_uvec!(winners, vec![(2, 36893488147419103226u128), (1, 36893488147419103219u128)]);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_uvec`
[INFO] [stdout]    --> src/tests.rs:323:2
[INFO] [stdout]     |
[INFO] [stdout] 323 |     assert_eq_uvec!(winners, vec![(20, 2), (10, 1), (30, 1)]);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_uvec`
[INFO] [stdout]    --> src/tests.rs:353:2
[INFO] [stdout]     |
[INFO] [stdout] 353 |     assert_eq_uvec!(winners, vec![(20, 2), (10, 1), (30, 1)]);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_uvec`
[INFO] [stdout]    --> src/tests.rs:386:2
[INFO] [stdout]     |
[INFO] [stdout] 386 |     assert_eq_uvec!(winners, vec![(24, 1490000000000200000u128), (22, 1490000000000100000u128)]);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_uvec`
[INFO] [stdout]    --> src/tests.rs:412:2
[INFO] [stdout]     |
[INFO] [stdout] 412 |     assert_eq_uvec!(winners, vec![(2, 1000000000004000000u128), (4, 1000000000004000000u128)]);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_uvec`
[INFO] [stdout]    --> src/tests.rs:489:2
[INFO] [stdout]     |
[INFO] [stdout] 489 |     assert_eq_uvec!(winners, vec![
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `_phragmen`
[INFO] [stdout]    --> src/tests.rs:656:2
[INFO] [stdout]     |
[INFO] [stdout] 656 |     generate_compact_solution_type!(TestCompact, 16);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `_phragmen::sp_arithmetic::traits`
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 646 |     use crate::Saturating;
[INFO] [stdout]     |
[INFO] [stdout] 646 |     use sp_arithmetic::traits::Saturating;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `One`
[INFO] [stdout]   --> src/mock.rs:23:67
[INFO] [stdout]    |
[INFO] [stdout] 23 | use sp_arithmetic::{PerThing, traits::{SaturatedConversion, Zero, One}};
[INFO] [stdout]    |                                                                   ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 21 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sp-phragmen`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "2ddfd2f8bbe5c09556bccfff4eed59127bab61f21622344c373e6a98b08711c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2ddfd2f8bbe5c09556bccfff4eed59127bab61f21622344c373e6a98b08711c8", kill_on_drop: false }`
[INFO] [stdout] 2ddfd2f8bbe5c09556bccfff4eed59127bab61f21622344c373e6a98b08711c8
